home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 4
/
CDPD_IV.bin
/
e
/
mailinglists
/
amigae.0793july.archive
/
000043_crash!cislabs.pitt.edu!cjfst4_Wed, 21 Jul 93 19:47:04 PST.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-26
|
1KB
Received: by bkhouse.cts.com (V1.16/Amiga)
id AA00000; Wed, 21 Jul 93 19:47:04 PST
Received: from phantom.cislabs.pitt.edu by crash.cts.com with smtp
(Smail3.1.28.1 #15) id m0oInJg-0000UUC; Wed, 21 Jul 93 16:11 PDT
Received: from meg.cislabs.pitt.edu by phantom.cislabs.pitt.edu (4.1/1.34)
id AA20499; Wed, 21 Jul 93 19:11:17 EDT
Received: by meg.cislabs.pitt.edu (4.1/EMI-2.1)
id AA01548; Wed, 21 Jul 93 19:11:14 EDT
Message-Id: <9307212311.AA01548@meg.cislabs.pitt.edu>
Date: Wed, 21 Jul 1993 19:11:13 -0400 (EDT)
X-Mailer: ELM [version 2.4 PL21]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Length: 558
From: cjfst4@cislabs.pitt.edu
To: amigae@bkhouse.cts.com (Amiga-E List)
Subject: Help with datestamps
I hope someone can help me with this problem...I can't seem to get
DateStamp and DateToStr working right <sigh>. I keep on getting an
'illegal use of/reference to object' on this line:
date.stamp := New(SIZEOF datestamp)
----8<----8<----
MODULE 'dos/dos', 'dos/datetime'
PROC main()
DEF date : PTR TO datetime,
s[10] : ARRAY OF CHAR
date := New(SIZEOF datetime)
date.stamp := New(SIZEOF datestamp)
date.stamp := DateStamp(date.stamp)
date.strdate := s
DateToStr(date)
WriteF('date: \s\n',s)
ENDPROC
----8<----8<----